package com.dolphin.servicemap.service;

import com.dolphin.common.dto.ResponseResult;
import com.dolphin.servicemap.remot.ServiceClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ServiceFromMapService {
    @Autowired
    private ServiceClient serviceClient;


    public ResponseResult add(String name) {
        return serviceClient.add(name);
    }
}
